import sys
import os
from distutils.core import setup

__version__ = open('VERSION').readline().strip()

setup(
    name='oto',
    version=__version__,
    description='Oranges to Oranges',
    author='Ryan Rousseau',
    author_email='ryan.rousseau@gmail.com',
    data_files=[
                    ('/usr/share/gconf/schemas/',
                        ['data/gconf/oto.schemas']
                    ),
                    ('/usr/share/oto/',
                        ['README', 'VERSION', 'ChangeLog', 'INSTALL',
                         'LICENSE']
                    ),
                    ('/usr/share/oto/glade/',
                        ['data/glade/oto.glade']
                    ),
               ],
    packages=['oto'],
    scripts=['bin/oto-server', 'bin/oto-client'],
    license='GPL',
)
